package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Dish;
import com.itheima.common.ParamPage;
import com.itheima.dto.DishDto;

import java.util.List;

public interface DishService {
    List<Dish> findByCid(Long id,Integer status);
    int add(DishDto dishDto);
    IPage<Dish>findpage(ParamPage paramPage);
    DishDto findByid(Long id);
    int update(DishDto dishDto);
    int delete(List<Long> ids);
    int updatestatus(int status,List<Long> ids);
    List<Dish> findByCid1(String name);
}
